package com.xbongbong.paas.lowcode;

import com.xbongbong.paas.toolbox.exception.XbbException;
import com.xbongbong.pro.formservice.pojo.dto.FormServiceListDTO;
import com.xbongbong.pro.formservice.pojo.dto.FormServiceSaveDTO;
import com.xbongbong.pro.formservice.pojo.vo.FormServiceListVO;
import com.xbongbong.pro.formservice.pojo.vo.FormServiceSaveVO;

/**
 * @author 吴峰
 * @date 2021/03/09 15:14
 */
public interface PaasFormServiceRegistrationService {

    /**
     * 获取当前表单的服务
     * @param formServiceListDTO
     * @return
     * @throws XbbException
     */
    FormServiceListVO list(FormServiceListDTO formServiceListDTO) throws XbbException;
    /**
     * 保存当前表单的服务
     * @param formServiceSaveDTO
     * @return
     * @throws XbbException
     */
    FormServiceSaveVO save(FormServiceSaveDTO formServiceSaveDTO) throws XbbException;
}
